﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebHoiChoMuaBan.Models;

namespace WebHoiChoMuaBan.Controllers.Helpers
{
    public class Member_GroupHelper : HelperBase
    {
        public Member_GroupHelper()
            : base()
        {

        }

        //
        // Insert/Delete Methods

        public void Add(Member_Group member_group)
        {
            this.dataContext.Member_Groups.InsertOnSubmit(member_group);
        }

        public void Save()
        {
            this.dataContext.SubmitChanges();
        }
    }
}